package fr.labri.macchiato.feature.localDatabase;

import com.google.gwt.user.client.rpc.AsyncCallback;


/**
 * Async interface for the {@link RpcQueryLauncher}
 * 
 * @author Paul SARRAUTE
 *
 */
public interface RpcQueryLauncherAsync {
        
        /**
         * Async {@link RpcQueryLauncher#loadModel()}
         * 
         * @param callback
         */
        void loadModel(String url, AsyncCallback<Void> callback);
        
        void launchQueryForJSON(String url, String query, AsyncCallback<String> callback);
        

}